package com.sf.dlb.vo;

import java.util.List;

/**
 * APP基础报表VO
 */
public class UserBaseReportVO {

    /**
     * Token : {"data":{"xAxis":["2018-12-01","2018-12-02","2018-12-03","2018-12-04","2018-12-05","2018-12-06","2018-12-07","2018-12-08","2018-12-09","2018-12-10","2018-12-11","2018-12-12"],"yAxis":[23,16,9,21,13,34,12,23,16,9,21,13]},"history":23323.656,"name":"DLB发放量","timespan":"2018-12-06 - 2018-12-12","total":244.876}
     * newUsers : {"data":{"xAxis":["2018-12-01","2018-12-02","2018-12-03","2018-12-04","2018-12-05","2018-12-06","2018-12-07","2018-12-08","2018-12-09","2018-12-10","2018-12-11","2018-12-12"],"yAxis":[23,16,9,21,13,34,12,23,16,9,21,13]},"history":721987,"name":"APP新增用户","timespan":"2018-12-06 - 2018-12-12","total":10235}
     * orderAnalysis : {"data":[{"name":"热点","value":320},{"name":"财经","value":240},{"name":"电影","value":149},{"name":"区块链","value":100},{"name":"科技","value":59}],"history":4334,"name":"用户喜好分析","timespan":"2018-12-06 - 2018-12-12","total":12,"xAxis":["热点","财经","电影","区块链","科技"]}
     * readTime : {"data":{"xAxis":["2018-12-01","2018-12-02","2018-12-03","2018-12-04","2018-12-05","2018-12-06","2018-12-07","2018-12-08","2018-12-09","2018-12-10","2018-12-11","2018-12-12","2018-12-13"],"yAxis":[23,16,9,21,13,34,12,23,16,9,21,13,167]},"history":"10000小时","name":"阅读时长","timespan":"2018-12-06 - 2018-12-12","total":"102小时20分钟"}
     */

    private TokenBean Token;
    private NewUsersBean newUsers;
    private OrderAnalysisBean orderAnalysis;
    private ReadTimeBean readTime;

    public TokenBean getToken() {
        return Token;
    }

    public void setToken(TokenBean Token) {
        this.Token = Token;
    }

    public NewUsersBean getNewUsers() {
        return newUsers;
    }

    public void setNewUsers(NewUsersBean newUsers) {
        this.newUsers = newUsers;
    }

    public OrderAnalysisBean getOrderAnalysis() {
        return orderAnalysis;
    }

    public void setOrderAnalysis(OrderAnalysisBean orderAnalysis) {
        this.orderAnalysis = orderAnalysis;
    }

    public ReadTimeBean getReadTime() {
        return readTime;
    }

    public void setReadTime(ReadTimeBean readTime) {
        this.readTime = readTime;
    }

    public static class TokenBean {
        /**
         * data : {"xAxis":["2018-12-01","2018-12-02","2018-12-03","2018-12-04","2018-12-05","2018-12-06","2018-12-07","2018-12-08","2018-12-09","2018-12-10","2018-12-11","2018-12-12"],"yAxis":[23,16,9,21,13,34,12,23,16,9,21,13]}
         * history : 23323.656
         * name : DLB发放量
         * timespan : 2018-12-06 - 2018-12-12
         * total : 244.876
         */

        private DataBean data;
        private double history;
        private String name;
        private String timespan;
        private double total;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public double getHistory() {
            return history;
        }

        public void setHistory(double history) {
            this.history = history;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTimespan() {
            return timespan;
        }

        public void setTimespan(String timespan) {
            this.timespan = timespan;
        }

        public double getTotal() {
            return total;
        }

        public void setTotal(double total) {
            this.total = total;
        }

        public static class DataBean {
            private List<String> xAxis;
            private List<Double> yAxis;

            public List<String> getxAxis() {
                return xAxis;
            }

            public void setxAxis(List<String> xAxis) {
                this.xAxis = xAxis;
            }

            public List<Double> getyAxis() {
                return yAxis;
            }

            public void setyAxis(List<Double> yAxis) {
                this.yAxis = yAxis;
            }
        }
    }

    public static class NewUsersBean {
        /**
         * data : {"xAxis":["2018-12-01","2018-12-02","2018-12-03","2018-12-04","2018-12-05","2018-12-06","2018-12-07","2018-12-08","2018-12-09","2018-12-10","2018-12-11","2018-12-12"],"yAxis":[23,16,9,21,13,34,12,23,16,9,21,13]}
         * history : 721987
         * name : APP新增用户
         * timespan : 2018-12-06 - 2018-12-12
         * total : 10235
         */

        private DataBean1 data;
        private int history;
        private String name;
        private String timespan;
        private int total;

        public DataBean1 getData() {
            return data;
        }

        public void setData(DataBean1 data) {
            this.data = data;
        }

        public int getHistory() {
            return history;
        }

        public void setHistory(int history) {
            this.history = history;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTimespan() {
            return timespan;
        }

        public void setTimespan(String timespan) {
            this.timespan = timespan;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public static class DataBean1 {
            private List<String> xAxis;
            private List<Integer> yAxis;

            public List<String> getxAxis() {
                return xAxis;
            }

            public void setxAxis(List<String> xAxis) {
                this.xAxis = xAxis;
            }

            public List<Integer> getyAxis() {
                return yAxis;
            }

            public void setyAxis(List<Integer> yAxis) {
                this.yAxis = yAxis;
            }
        }
    }

    public static class OrderAnalysisBean {
        /**
         * data : [{"name":"热点","value":320},{"name":"财经","value":240},{"name":"电影","value":149},{"name":"区块链","value":100},{"name":"科技","value":59}]
         * history : 4334
         * name : 用户喜好分析
         * timespan : 2018-12-06 - 2018-12-12
         * total : 12
         * xAxis : ["热点","财经","电影","区块链","科技"]
         */

        private int history;
        private String name;
        private String timespan;
        private int total;
        private List<DataBean2> data;
        private List<String> xAxis;

        public int getHistory() {
            return history;
        }

        public void setHistory(int history) {
            this.history = history;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTimespan() {
            return timespan;
        }

        public void setTimespan(String timespan) {
            this.timespan = timespan;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<DataBean2> getData() {
            return data;
        }

        public void setData(List<DataBean2> data) {
            this.data = data;
        }

        public List<String> getxAxis() {
            return xAxis;
        }

        public void setxAxis(List<String> xAxis) {
            this.xAxis = xAxis;
        }

        public static class DataBean2 {
            public DataBean2(){

            }
            public DataBean2(String name, int value) {
                this.name = name;
                this.value = value;
            }

            /**
             * name : 热点
             * value : 320
             */

            private String name;
            private int value;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }
        }
    }

    public static class ReadTimeBean {
        /**
         * data : {"xAxis":["2018-12-01","2018-12-02","2018-12-03","2018-12-04","2018-12-05","2018-12-06","2018-12-07","2018-12-08","2018-12-09","2018-12-10","2018-12-11","2018-12-12","2018-12-13"],"yAxis":[23,16,9,21,13,34,12,23,16,9,21,13,167]}
         * history : 10000小时
         * name : 阅读时长
         * timespan : 2018-12-06 - 2018-12-12
         * total : 102小时20分钟
         */

        private DataBean3 data;
        private String history;
        private String name;
        private String timespan;
        private String total;

        public DataBean3 getData() {
            return data;
        }

        public void setData(DataBean3 data) {
            this.data = data;
        }

        public String getHistory() {
            return history;
        }

        public void setHistory(String history) {
            this.history = history;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTimespan() {
            return timespan;
        }

        public void setTimespan(String timespan) {
            this.timespan = timespan;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public static class DataBean3 {
            private List<String> xAxis;
            private List<Integer> yAxis;

            public List<String> getxAxis() {
                return xAxis;
            }

            public void setxAxis(List<String> xAxis) {
                this.xAxis = xAxis;
            }

            public List<Integer> getyAxis() {
                return yAxis;
            }

            public void setyAxis(List<Integer> yAxis) {
                this.yAxis = yAxis;
            }
        }
    }
}
